<?php

    /**
     * Created by PhpStorm.
     * User: Hannibal
     * Date: 6/10/14
     * Time: 7:58 PM
     */
    class Commit extends AppModel {
        public $belongsTo = array(
            'User' => array(
                'className'  => 'User',
                'foreignKey' => 'id_student',
            )
            );
            
    }